package com.mb.app.service;

import com.baomidou.mybatisplus.service.IService;
import com.mb.app.domain.TbProductClass;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author liliping
 * @since 2019-04-01
 */
public interface ITbProductClassService extends IService<TbProductClass> {


    /**
     * 分页查询
     * @param map
     * @return
     */
    public List<TbProductClass> queryList(Map<String, Object> map);

    public int count(Map<String, Object> map);

    public int save(TbProductClass tbProductClass);

    public int update(TbProductClass tbProductClass);

    public int remove(Long classId,Long delUserId);

    public TbProductClass getDtl(Long classId);

    boolean productClassNameExit(Map<String, Object> params);

    public  List<TbProductClass> getProductClassInfoList(Map<String, Object> map);

    List<TbProductClass> selectClasss(Long classId);
}
